export default [
    {
        path: '/login',
        name: '登录页',
        component: () => {
            // if(commonStore.isMacOs){
            //   return   import('@/mac/index.vue')
            // }
            return import('@/page/login/index.vue')
        },
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/pageDocument',
        name: 'pageDocument',
        component: () => {
            return import('@/page/test/document/pageDocument.vue')
        },
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }, {
        path: '/virtualizedTable',
        name: 'virtualizedTable',
        component: () => {
            return import('@/page/test/virtualized-table/index.vue')
        },
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/pageAvueForm',
        name: 'pageAvueForm',
        component: () => {
            return import('@/page/test/avueForm/pageAvueForm.vue')
        },
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/pageAvueCrud',
        name: 'pageAvueCrud',
        component: () => {
            return import('@/page/test/avueForm/pageAvueCrud.vue')
        },
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/bpmnDesign',
        name: '设计',
        component: () => import('@/page/bpmn-design/index.vue'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/formDesign',
        name: '表单设计',
        component: () =>
            import('@/page/form-design/index.vue'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/testVueMonacoEdit',
        name: '设计',
        component: () =>
            import('@/page/editor/testVueMonacoEdit.vue'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/lock',
        name: '锁屏页',
        component: () => {

            // if(commonStore.isMacOs){
            //   return   import('@/mac/index.vue')
            // }
            return import('@/page/lock/index.vue')
        },


        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/404',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/components/error-page/404.vue'),
        name: '404',
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }

    },
    {
        path: '/403',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/components/error-page/403.vue'),
        name: '403',
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/500',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/components/error-page/500.vue'),
        name: '500',
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/',
        name: '主页',
        redirect: '/wel'
    }
]
